#ifndef MATHHELPER_H
#define MATHHELPER_H
namespace StompedReality
{
namespace Math
{
#define PI 3.14159265f
static float deg2rad ( float deg )
{
  return deg * ( PI / 180 );
}

static float rad2deg ( float rad )
{
  return rad / ( PI / 180 );
}

static int sign ( float x )
{
  if ( x > 0 ) return 1;
  if ( x < 0 ) return -1;
  return 0;
}

}
}
#endif // MATHHELPER_H
